<!doctype html>
<html>
	<head>
		<meta name="layout" content="main_layout"/>
		<title>Register</title>
	</head>
	<body>
	<div style="color: Red;  font-size: 20px;">
		${flash.error}
	</div>
		<div>
			<g:form controller="User" action="AttemptRegister">
				<div style="padding-left: 100px">
					<div><label>Name:</label><input name="userName" type="text" value=""/></div>
					<div><label>Password:</label><input type="password" name="password"/></div>
					<div><label>Confirm Password:</label><input type="password" name="confirmPassword"/></div>
					<div><label>Full Name:</label><input name="name" type="text" value=""/></div>
					<div><label>Email:</label><input name="email" type="text" value=""/></div>
					<div><label>&nbsp;</label><input type="submit" value="Register"/></div>
				</div>
			</g:form>
		</div>
	</body>
</html>